<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="../static/hot.css">
</head>
<body style="background: url(../img/bg.jpg) no-repeat center center fixed; background-size: 100%;">
   <div class=main >
   		<ul class="main-1">
			<li><a href="article-add.jsp">写文章</a></li>
			<li><a href="article?action=list">文章管理</a></li>
			<li><a href="message?act=messagelist">留言管理</a></li>
			<li><a href="comment?act=commentlist">评论管理</a></li>
			<li><a href="blog.jsp">博客首页</a></li>
			<li><a href="AdminServlet?action=adLogout">安全退出</a></li>
			
			</ul>
			<div class="one">欢迎<span style="color:red">${userName}</span>登录</div>
		</div>
		 

<form action="article" method="post">
		<input type="hidden" name="action" value="doUpdate"/>
		<input type="hidden" name="id" value="${article.artId }"/>
	
		<table class="one">
		<tr>
			<td style="font-size:18px"><span class="s">标题:</span></td>
			<td><input type="text" name="title" value="${article.artTitle}" class="messager"></td>
		</tr>
		<tr>
		
		    <td style="font-size:18px"><span class="s">图片路径</span><input type="text" name="adPhoto" value="${article.adPhoto }"></td>
		  
		     
		</tr>
		<tr >
			<td style="font-size:18px"><span class="s">内容:</span></td>
			
			<td ><textarea rows="25" cols="100" name="content" class="t1">${article.artContent}</textarea></td>
		</tr>
		<tr>
			<td colspan="2"align="center"><input type="submit" value="修改" class="tj"></td>
		</tr>
		
		</table>
		</form>
</body>
</html>